/**
 * 接口 URL 数据集
 * 集中管理，方便统一维护。建议采用一级数据结构 (urls.membersIndex)，不要使用二级数据结构 (urls.members.index)，方便 IDE 智能提示。
 * URL 规范尽量采用 Resetful 资源路由格式（包括 index, read, save, update, delete）。
 */
class ApiRoute {
    // 公共模块
    menu = '/api/admin/menu'
    upload = '/api/admin/upload'
    
    // 登录模块
    login = '/api/admin/login'
    forgetPassword = '/api/admin/forget-password'

    // 管理管理
    authAdminsIndex = '/api/admin/auth-admins/index'
    authAdminsRead = '/api/admin/auth-admins/read'
    authAdminsSave = '/api/admin/auth-admins/save'
    authAdminsUpdate = '/api/admin/auth-admins/update'
    authAdminsDelete = '/api/admin/auth-admins/delete'

    // 权限分管理
    authGroupsIndex = '/api/admin/auth-groups/index'
    authGroupsRead = '/api/admin/auth-groups/read'
    authGroupsSave = '/api/admin/auth-groups/save'
    authGroupsUpdate = '/api/admin/auth-groups/update'
    authGroupsDelete = '/api/admin/auth-groups/delete'

    // 权限规管理
    authRulesIndex = '/api/admin/auth-rules/index'
    authRulesRead = '/api/admin/auth-rules/read'
    authRulesSave = '/api/admin/auth-rules/save'
    authRulesUpdate = '/api/admin/auth-rules/update'
    authRulesDelete = '/api/admin/auth-rules/delete'

    // 系统配管理
    sysConfigsIndex = '/api/admin/sys-configs/index'
    sysConfigsRead = '/api/admin/sys-configs/read'
    sysConfigsSave = '/api/admin/sys-configs/save'
    sysConfigsUpdate = '/api/admin/sys-configs/update'
    sysConfigsDelete = '/api/admin/sys-configs/delete'

    // 配置分管理
    sysConfigGroupsIndex = '/api/admin/sys-config-groups/index'
    sysConfigGroupsRead = '/api/admin/sys-config-groups/read'
    sysConfigGroupsSave = '/api/admin/sys-config-groups/save'
    sysConfigGroupsUpdate = '/api/admin/sys-config-groups/update'
    sysConfigGroupsDelete = '/api/admin/sys-config-groups/delete'

    // 定时任管理
    sysCrontabsIndex = '/api/admin/sys-crontabs/index'
    sysCrontabsRead = '/api/admin/sys-crontabs/read'
    sysCrontabsSave = '/api/admin/sys-crontabs/save'
    sysCrontabsUpdate = '/api/admin/sys-crontabs/update'
    sysCrontabsDelete = '/api/admin/sys-crontabs/delete'

    // 邮箱验证管理
    sysEmailCaptchasIndex = '/api/admin/sys-email-captchas/index'
    sysEmailCaptchasRead = '/api/admin/sys-email-captchas/read'
    sysEmailCaptchasSave = '/api/admin/sys-email-captchas/save'
    sysEmailCaptchasUpdate = '/api/admin/sys-email-captchas/update'
    sysEmailCaptchasDelete = '/api/admin/sys-email-captchas/delete'

    // 短信验证码管理
    sysSmsCaptchasIndex = '/api/admin/sys-sms-captchas/index'
    sysSmsCaptchasRead = '/api/admin/sys-sms-captchas/read'
    sysSmsCaptchasSave = '/api/admin/sys-sms-captchas/save'
    sysSmsCaptchasUpdate = '/api/admin/sys-sms-captchas/update'
    sysSmsCaptchasDelete = '/api/admin/sys-sms-captchas/delete'

    // 用户反管理
    sysFeedbacksIndex = '/api/admin/sys-feedbacks/index'
    sysFeedbacksRead = '/api/admin/sys-feedbacks/read'
    sysFeedbacksSave = '/api/admin/sys-feedbacks/save'
    sysFeedbacksUpdate = '/api/admin/sys-feedbacks/update'
    sysFeedbacksDelete = '/api/admin/sys-feedbacks/delete'

    // 系统消管理
    sysMessagesIndex = '/api/admin/sys-messages/index'
    sysMessagesRead = '/api/admin/sys-messages/read'
    sysMessagesSave = '/api/admin/sys-messages/save'
    sysMessagesUpdate = '/api/admin/sys-messages/update'
    sysMessagesDelete = '/api/admin/sys-messages/delete'

    // 系统通管理
    sysNoticesIndex = '/api/admin/sys-notices/index'
    sysNoticesRead = '/api/admin/sys-notices/read'
    sysNoticesSave = '/api/admin/sys-notices/save'
    sysNoticesUpdate = '/api/admin/sys-notices/update'
    sysNoticesDelete = '/api/admin/sys-notices/delete'

    // APP版管理
    sysVersionsIndex = '/api/admin/sys-versions/index'
    sysVersionsRead = '/api/admin/sys-versions/read'
    sysVersionsSave = '/api/admin/sys-versions/save'
    sysVersionsUpdate = '/api/admin/sys-versions/update'
    sysVersionsDelete = '/api/admin/sys-versions/delete'

    // 用管理
    usersIndex = '/api/admin/users/index'
    usersRead = '/api/admin/users/read'
    usersSave = '/api/admin/users/save'
    usersUpdate = '/api/admin/users/update'
    usersDelete = '/api/admin/users/delete'

    // 推广管理
    userPromotersIndex = '/api/admin/user-promoters/index'
    userPromotersRead = '/api/admin/user-promoters/read'
    userPromotersSave = '/api/admin/user-promoters/save'
    userPromotersUpdate = '/api/admin/user-promoters/update'
    userPromotersDelete = '/api/admin/user-promoters/delete'

    // 用户等管理
    userLevelsIndex = '/api/admin/user-levels/index'
    userLevelsRead = '/api/admin/user-levels/read'
    userLevelsSave = '/api/admin/user-levels/save'
    userLevelsUpdate = '/api/admin/user-levels/update'
    userLevelsDelete = '/api/admin/user-levels/delete'

    // 用户收货地管理
    userAddressesIndex = '/api/admin/user-addresses/index'
    userAddressesRead = '/api/admin/user-addresses/read'
    userAddressesSave = '/api/admin/user-addresses/save'
    userAddressesUpdate = '/api/admin/user-addresses/update'
    userAddressesDelete = '/api/admin/user-addresses/delete'

    // 销售商管理
    goodsIndex = '/api/admin/goods/index'
    goodsRead = '/api/admin/goods/read'
    goodsSave = '/api/admin/goods/save'
    goodsUpdate = '/api/admin/goods/update'
    goodsDelete = '/api/admin/goods/delete'

    // 商品促销推管理
    goodsAdvertisingsIndex = '/api/admin/goods-advertisings/index'
    goodsAdvertisingsRead = '/api/admin/goods-advertisings/read'
    goodsAdvertisingsSave = '/api/admin/goods-advertisings/save'
    goodsAdvertisingsUpdate = '/api/admin/goods-advertisings/update'
    goodsAdvertisingsDelete = '/api/admin/goods-advertisings/delete'

    // 运费模管理
    postagesIndex = '/api/admin/postages/index'
    postagesRead = '/api/admin/postages/read'
    postagesSave = '/api/admin/postages/save'
    postagesUpdate = '/api/admin/postages/update'
    postagesDelete = '/api/admin/postages/delete'

    // 运费模板关管理
    postage2MerchantsIndex = '/api/admin/postage-2-merchants/index'
    postage2MerchantsRead = '/api/admin/postage-2-merchants/read'
    postage2MerchantsSave = '/api/admin/postage-2-merchants/save'
    postage2MerchantsUpdate = '/api/admin/postage-2-merchants/update'
    postage2MerchantsDelete = '/api/admin/postage-2-merchants/delete'

    // 商品评管理
    goodsCommentsIndex = '/api/admin/goods-comments/index'
    goodsCommentsRead = '/api/admin/goods-comments/read'
    goodsCommentsSave = '/api/admin/goods-comments/save'
    goodsCommentsUpdate = '/api/admin/goods-comments/update'
    goodsCommentsDelete = '/api/admin/goods-comments/delete'

    // 商品浏览记管理
    goodsBrowsingsIndex = '/api/admin/goods-browsings/index'
    goodsBrowsingsRead = '/api/admin/goods-browsings/read'
    goodsBrowsingsSave = '/api/admin/goods-browsings/save'
    goodsBrowsingsUpdate = '/api/admin/goods-browsings/update'
    goodsBrowsingsDelete = '/api/admin/goods-browsings/delete'

    // 商品收管理
    goodsFavoritesIndex = '/api/admin/goods-favorites/index'
    goodsFavoritesRead = '/api/admin/goods-favorites/read'
    goodsFavoritesSave = '/api/admin/goods-favorites/save'
    goodsFavoritesUpdate = '/api/admin/goods-favorites/update'
    goodsFavoritesDelete = '/api/admin/goods-favorites/delete'

    // 类管理
    goodsCategoriesIndex = '/api/admin/goods-categories/index'
    goodsCategoriesRead = '/api/admin/goods-categories/read'
    goodsCategoriesSave = '/api/admin/goods-categories/save'
    goodsCategoriesUpdate = '/api/admin/goods-categories/update'
    goodsCategoriesDelete = '/api/admin/goods-categories/delete'

    // 品管理
    goodsBrandsIndex = '/api/admin/goods-brands/index'
    goodsBrandsRead = '/api/admin/goods-brands/read'
    goodsBrandsSave = '/api/admin/goods-brands/save'
    goodsBrandsUpdate = '/api/admin/goods-brands/update'
    goodsBrandsDelete = '/api/admin/goods-brands/delete'

    // 规管理
    goodsSpecificationsIndex = '/api/admin/goods-specifications/index'
    goodsSpecificationsRead = '/api/admin/goods-specifications/read'
    goodsSpecificationsSave = '/api/admin/goods-specifications/save'
    goodsSpecificationsUpdate = '/api/admin/goods-specifications/update'
    goodsSpecificationsDelete = '/api/admin/goods-specifications/delete'

    // 商品SK管理
    goodsSkusIndex = '/api/admin/goods-skus/index'
    goodsSkusRead = '/api/admin/goods-skus/read'
    goodsSkusSave = '/api/admin/goods-skus/save'
    goodsSkusUpdate = '/api/admin/goods-skus/update'
    goodsSkusDelete = '/api/admin/goods-skus/delete'

    // 属管理
    goodsAttributesIndex = '/api/admin/goods-attributes/index'
    goodsAttributesRead = '/api/admin/goods-attributes/read'
    goodsAttributesSave = '/api/admin/goods-attributes/save'
    goodsAttributesUpdate = '/api/admin/goods-attributes/update'
    goodsAttributesDelete = '/api/admin/goods-attributes/delete'

    // 商品属性关管理
    attributes2GoodsIndex = '/api/admin/attributes-2-goods/index'
    attributes2GoodsRead = '/api/admin/attributes-2-goods/read'
    attributes2GoodsSave = '/api/admin/attributes-2-goods/save'
    attributes2GoodsUpdate = '/api/admin/attributes-2-goods/update'
    attributes2GoodsDelete = '/api/admin/attributes-2-goods/delete'

    // 商品标管理
    goodsTagsIndex = '/api/admin/goods-tags/index'
    goodsTagsRead = '/api/admin/goods-tags/read'
    goodsTagsSave = '/api/admin/goods-tags/save'
    goodsTagsUpdate = '/api/admin/goods-tags/update'
    goodsTagsDelete = '/api/admin/goods-tags/delete'

    // 商品标签关管理
    tags2GoodsIndex = '/api/admin/tags-2-goods/index'
    tags2GoodsRead = '/api/admin/tags-2-goods/read'
    tags2GoodsSave = '/api/admin/tags-2-goods/save'
    tags2GoodsUpdate = '/api/admin/tags-2-goods/update'
    tags2GoodsDelete = '/api/admin/tags-2-goods/delete'

    // 优惠管理
    goodsCouponsIndex = '/api/admin/goods-coupons/index'
    goodsCouponsRead = '/api/admin/goods-coupons/read'
    goodsCouponsSave = '/api/admin/goods-coupons/save'
    goodsCouponsUpdate = '/api/admin/goods-coupons/update'
    goodsCouponsDelete = '/api/admin/goods-coupons/delete'

    // 优惠券领管理
    couponReceivedsIndex = '/api/admin/coupon-receiveds/index'
    couponReceivedsRead = '/api/admin/coupon-receiveds/read'
    couponReceivedsSave = '/api/admin/coupon-receiveds/save'
    couponReceivedsUpdate = '/api/admin/coupon-receiveds/update'
    couponReceivedsDelete = '/api/admin/coupon-receiveds/delete'

    // 购物管理
    shoppingCartsIndex = '/api/admin/shopping-carts/index'
    shoppingCartsRead = '/api/admin/shopping-carts/read'
    shoppingCartsSave = '/api/admin/shopping-carts/save'
    shoppingCartsUpdate = '/api/admin/shopping-carts/update'
    shoppingCartsDelete = '/api/admin/shopping-carts/delete'

    // 订管理
    ordersIndex = '/api/admin/orders/index'
    ordersRead = '/api/admin/orders/read'
    ordersSave = '/api/admin/orders/save'
    ordersUpdate = '/api/admin/orders/update'
    ordersDelete = '/api/admin/orders/delete'

    // 订单明管理
    orderDetailsIndex = '/api/admin/order-details/index'
    orderDetailsRead = '/api/admin/order-details/read'
    orderDetailsSave = '/api/admin/order-details/save'
    orderDetailsUpdate = '/api/admin/order-details/update'
    orderDetailsDelete = '/api/admin/order-details/delete'

    // 物流公管理
    logisticsCompaniesIndex = '/api/admin/logistics-companies/index'
    logisticsCompaniesRead = '/api/admin/logistics-companies/read'
    logisticsCompaniesSave = '/api/admin/logistics-companies/save'
    logisticsCompaniesUpdate = '/api/admin/logistics-companies/update'
    logisticsCompaniesDelete = '/api/admin/logistics-companies/delete'

    // 定时任务日志管理
    logCrontabsIndex = '/api/admin/log-crontabs/index'
    logCrontabsRead = '/api/admin/log-crontabs/read'
    logCrontabsSave = '/api/admin/log-crontabs/save'
    logCrontabsUpdate = '/api/admin/log-crontabs/update'
    logCrontabsDelete = '/api/admin/log-crontabs/delete'

    // 搜索关键词日志管理
    logSearchesIndex = '/api/admin/log-searches/index'
    logSearchesRead = '/api/admin/log-searches/read'
    logSearchesSave = '/api/admin/log-searches/save'
    logSearchesUpdate = '/api/admin/log-searches/update'
    logSearchesDelete = '/api/admin/log-searches/delete'

    // 订单操作日管理
    logOrdersIndex = '/api/admin/log-orders/index'
    logOrdersRead = '/api/admin/log-orders/read'
    logOrdersSave = '/api/admin/log-orders/save'
    logOrdersUpdate = '/api/admin/log-orders/update'
    logOrdersDelete = '/api/admin/log-orders/delete'

    // 用户日志管理
    logUsersIndex = '/api/admin/log-users/index'
    logUsersRead = '/api/admin/log-users/read'
    logUsersSave = '/api/admin/log-users/save'
    logUsersUpdate = '/api/admin/log-users/update'
    logUsersDelete = '/api/admin/log-users/delete'

    // 管理员日管理
    logAdminsIndex = '/api/admin/log-admins/index'
    logAdminsRead = '/api/admin/log-admins/read'
    logAdminsSave = '/api/admin/log-admins/save'
    logAdminsUpdate = '/api/admin/log-admins/update'
    logAdminsDelete = '/api/admin/log-admins/delete'
}
